package com.tony.guice.Common;

import java.sql.Connection;

/**
 * @version V1.0  </br>
 * @ClassName DataTransactionLog </br>
 * @Description TODO  </br>
 * @Author tonywang</br>
 * @DATE 2/28/2019 3:41 PM</br>
 */
public class DataTransactionLog implements TransactionLog {
    String url;
    Integer poolSize;
    Connection connection;

    public Connection getConnection() {
        return connection;
    }

    public DataTransactionLog setConnection(Connection pConnection) {
        connection = pConnection;
        return this;
    }

    @Override
    public void log() {
        System.out.println("测试");
    }

    public String getUrl() {
        return url;
    }

    public DataTransactionLog setUrl(String pUrl) {
        url = pUrl;
        return this;
    }

    public Integer getPoolSize() {
        return poolSize;
    }

    public DataTransactionLog setPoolSize(Integer pPoolSize) {
        poolSize = pPoolSize;
        return this;
    }
}
